package com.jabo.douban.demo.model.entity;

import java.util.List;

/**
 * Author: Administrator
 * Time:   2020-03-02
 **/
public class NewsBean {

    /**
     * code : 200
     * msg : success
     * newslist : [{"ctime":"2020-03-02 20:11","title":"一线医护粉丝迎生日 偶像李冰冰送暖心祝福","description":"网易明星","picUrl":"http://cms-bucket.ws.126.net/2020/0302/038b7ddbp00q6kf7a003bc0009c005uc.png?imageView&thumbnail=130y90","url":"https://ent.163.com/20/0302/20/F6O6U91U00038FO9.html"},{"ctime":"2020-03-02 20:49","title":"哈利・波特回归《神奇动物在哪里》？主演回应","description":"网易明星","picUrl":"http://cms-bucket.ws.126.net/2020/0302/c00f0ce5p00q6kgy2003qc0009c005uc.png?imageView&thumbnail=130y90","url":"https://ent.163.com/20/0302/20/F6O92Q7P00038FO9.html"},{"ctime":"2020-03-02 20:29","title":"刘强东：我们心系员工 为十几万一线员工提供口","description":"网易互联网","picUrl":"http://cms-bucket.ws.126.net/2020/0302/adc78a5ep00q6kg1f001mc0009c005uc.png?imageView&thumbnail=200y140","url":"https://tech.163.com/20/0302/20/F6O7USGH00097U7R.html"},{"ctime":"2020-03-02 19:44","title":"成果穿汉服，程潇穿汉服，看到鞠婧祎：这谁扛得住？","description":"新浪汉服","picUrl":"http://n.sinaimg.cn/sinacn20200302ac/37/w480h357/20200302/3401-iqfqmat5385574.jpg","url":"https://k.sina.com.cn/article_6903351012_19b78c6e400100rqtf.html?from=ent&subch=star"},{"ctime":"2020-03-02 20:03","title":"平行时空纠缠爱恋 法国爱情喜剧《致我的陌生恋人》确认引进","description":"cnbeta影视","picUrl":"https://static.cnbetacdn.com/thumb/mini/article/2020/0302/fd2e67da2169335.png","url":"//hot.cnbeta.com/articles/movie/950343.htm"},{"ctime":"2020-03-02 19:23","title":"有线电视网络整合和广电5G建设一体化发展工作启","description":"通信行业","picUrl":"http://cms-bucket.ws.126.net/2020/0302/b69441e3p00q6kczd004hc0009c005uc.png?imageView&thumbnail=200y140","url":"https://tech.163.com/20/0302/19/F6O45TU900097U7S.html"},{"ctime":"2020-03-02 19:23","title":"正能量！\u201c尔豪\u201d扮演者高鑫赴口罩厂熬夜做义工","description":"网易明星","picUrl":"http://cms-bucket.ws.126.net/2020/0302/7a824044p00q6kcyl003pc0009c005uc.png?imageView&thumbnail=130y90","url":"https://ent.163.com/20/0302/19/F6O45B7R00038FO9.html"},{"ctime":"2020-03-02 18:52","title":"疫情期间没人关心，美司机称感觉被Uber和Lyft冷","description":"网易互联网","picUrl":"http://cms-bucket.ws.126.net/2020/0302/fe45331dp00q6kbk6003dc0009c005uc.png?imageView&thumbnail=200y140","url":"https://tech.163.com/20/0302/18/F6O2DKBC00097U7R.html"},{"ctime":"2020-03-02 19:03","title":"优信：没裁员，降薪举措取得了大多数同事理解","description":"网易互联网","picUrl":"http://cms-bucket.ws.126.net/2020/0302/bf0a10d1p00q6kc19003yc0009c005uc.png?imageView&thumbnail=200y140","url":"https://tech.163.com/20/0302/19/F6O30F9800097U7R.html"},{"ctime":"2020-03-02 20:00","title":"日内瓦车展被迫取消 全球汽车行业面临不确定困境愈加明显","description":"新浪汽车","picUrl":"http://k.sinaimg.cn/n/auto/transform/199/w660h339/20200302/30f8-iqfqmat5159051.png/w360h240l50t1963.jpg alt=日内瓦车展被迫取消 全球汽车行业面临不确定困境愈加明显 style=display: block;>","url":"https://auto.sina.com.cn/news/hy/2020-03-02/detail-iimxxstf5837226.shtml"}]
     */

    private int code;
    private String msg;
    private List<NewslistBean> newslist;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<NewslistBean> getNewslist() {
        return newslist;
    }

    public void setNewslist(List<NewslistBean> newslist) {
        this.newslist = newslist;
    }

    public static class NewslistBean {
        /**
         * ctime : 2020-03-02 20:11
         * title : 一线医护粉丝迎生日 偶像李冰冰送暖心祝福
         * description : 网易明星
         * picUrl : http://cms-bucket.ws.126.net/2020/0302/038b7ddbp00q6kf7a003bc0009c005uc.png?imageView&thumbnail=130y90
         * url : https://ent.163.com/20/0302/20/F6O6U91U00038FO9.html
         */

        private String ctime;
        private String title;
        private String description;
        private String picUrl;
        private String url;

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    @Override
    public String toString() {
        return "NewsBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", newslist=" + newslist +
                '}';
    }
}
